import Vue from "vue"
import axios from "axios"
import "ant-design-vue/dist/antd.css"
import Antd from "ant-design-vue"

import App from "./App"
import router from "./router"

if (!process.env.IS_WEB) Vue.use(require("vue-electron"))
Vue.http = Vue.prototype.$http = axios
Vue.config.productionTip = false

Vue.use(Antd)


/* eslint-disable no-new */
new Vue({
    components: {App},
    router,
    template: "<App/>"
}).$mount("#app")
